from app import app

#自定义过滤器

#用于处理换行
@app.template_filter('replacestr')
def replacestr(strs):
    return strs.replace("\n","</p><p>")